package cas.ihep.functions;

import org.apache.spark.api.java.function.Function;
import scala.Tuple2;

public abstract class FunctionP1Tuple2<T0,T1,T2,R> extends FunctionTuple2<Tuple2<T0,T1>,T2,R>
implements java.io.Serializable{

    public abstract R call(T0 t0, T1 t1, T2 t2);
    @Override
    public R call(Tuple2<T0, T1> t0T1Tuple2, T2 t2) {
        return call(t0T1Tuple2._1(),t0T1Tuple2._2(),t2);
    }
}
